Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 8 - Tag Objects / Tag Objects Reference
Functions / Creating and Manipulating Tag Objects


GXEqualTag

You can use the GXEqualTag function to determine whether two tag objects are equal.

boolean GXEqualTag(gxTag one, gxTag two);
one
A reference to one of the tag objects to test for equality.
two
A reference to the other tag object to test for equality.
function result
true if the two tag objects are equal; false otherwise.
DESCRIPTION
The GXEqualTag function returns true if the two specified tag objects are equal. For two tag objects to be equal, they must have identical tag types and contents, although their owner counts need not be identical.

ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
tag_is_nil 
SEE ALSO
To make a copy of a tag object that is equal by the criteria of this function, use the GXCopyToTag function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996